package com.yf.sbadmin.client.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("client")
public class HealthController {

    @GetMapping("hello")
    public ResponseEntity<String> hello() {
        log.info("Hello boy. 这里是 admin, 你好!");
        log.info("我不管,我要看日志...让我看日志!");
        return ResponseEntity.ok("Hello, this is client. 你好!");
    }

}
